package com.jtx.miaoah2.Utils;

/**
 * @author 季台星
 * @Date 2023 07 23 15 00
 */
public class ThreadLocalUtils {
    public static final ThreadLocal<Long> threadlocal = new ThreadLocal<>();

    public static void add(Long obj){
        threadlocal.set(obj);
    }

    public static Long get(){
        return threadlocal.get();
    }
    public static void clear(){
        threadlocal.remove();
    }
}
